Fix typo in pygrub code
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 2 Aug 2005 11:27:58 +0000 (11:27 +0000)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 2 Aug 2005 11:27:58 +0000 (11:27 +0000)
tools/pygrub/src/fsys/ext2/ext2module.c

index 7b81d8bab77d0c3f432f241a62ac593ff763f31a..13ce92108d64cb21d740859941331e383cf9ee75 100644 (file)
@@ -229,8 +229,8 @@ ext2_fs_open (Ext2Fs *fs, PyObject *args, PyObject *kwargs)
         snprintf(offsetopt, 29, "offset=%d", offset);
     }
 
-    err = ext2fs_open2(name, offsetopt, flags, superblock, block_size, 
-                      unix_io_manager, &efs);
+    err = ext2fs_file_open2(name, offsetopt, flags, superblock, block_size, 
+                            unix_io_manager, &efs);
     if (err) {
         PyErr_SetString(PyExc_ValueError, "unable to open file");
         return NULL;